dirmngr: Only use SKS pool CA for SKS pool
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 30 Jun 2019 15:54:35 +0000 (11:54 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commit939f8ec947b00695cc0a5090f5e7862b540e1193
tree331787837e5c53c36143375eac5464501a4d7cf0
parentac6aa4a4ee0d846a9ace0a557e7cf3f1abc81b8a
dirmngr: Only use SKS pool CA for SKS pool

* dirmngr/http.c (http_session_new): when checking whether the
keyserver is the HKPS pool, check specifically against the pool name,
as ./configure might have been used to select a different default
keyserver.  It makes no sense to apply Kristian's certificate
authority to anything other than the literal host
hkps.pool.sks-keyservers.net.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
(cherry picked from commit 3233382068b7c477907daac697164b81ae45a7f4)

Gbp-Pq: Topic keyserver-cleanup
Gbp-Pq: Name dirmngr-Only-use-SKS-pool-CA-for-SKS-pool.patch
dirmngr/http.c